import request from '/@/utils/request';

// 这里是存放公共请求的地方
export function useCommonApi() {
	return {
		getCityList: () => {
			return request({
				url: '/member/address/country/list',
				method: 'get',
			});
		},
		getSiteList: () => {
			return request({
				url: '/product/site/list',
				method: 'get',
			});
		},
		getSourceList: () => {
			return request({
				url: '/member/source/list',
				method: 'get',
			});
		},
	};
}
